home *** CD-ROM | disk | FTP | other *** search
/ Informática Multimedia 1995 April / Informatica Multimedia CD - Epimundo.iso / DOS / FILECOPY / ELIM.ZIP / ELIM.DOC < prev    next >
Encoding:
Text File  |  1991-02-17  |  6.5 KB  |  166 lines

  1.                                ELIM 1.6
  2.  
  3.                                    A
  4.                      Small program to delete files
  5.                        not accessible to DOS Del
  6.                                 - and -
  7.                   Avoid DEL's 'Are you sure?' prompt
  8.  
  9.                                   by
  10.                                Bob Eyer
  11.                              [73230,2620]
  12.  
  13.                              Feb 17, 1991
  14.  
  15.                    CAUTION: Please read the WARNING
  16.                             below
  17.  
  18.  
  19.      Syntax:
  20.  
  21.      ELIM filename/wildcard
  22.  
  23.      Discussion:
  24.      ----------
  25.      The  main  purpose  of  ELIM is to enable the user to delete files
  26.      which normal DOS DEL or ERASE cannot  handle.   For  example,  the
  27.      user  may  run  a  poorly  programmed  utility  which accidentally
  28.      creates files which have a blank or other illegal character in the
  29.      filename.  DOS DEL will not be able to delete such a  file.   ELIM
  30.      will solve the problem.
  31.  
  32.      ELIM 1.6 always reports on the screen what it did to each file, so
  33.      proper control can be maintained.
  34.  
  35.      Advantages:
  36.      ----------
  37.      ELIM does not prompt the user for confirmation, where  a  wildcard
  38.      is  used.  Thus, it is unnecessary to pipe a "y" to DEL in a batch
  39.      file.  Just use ELIM.
  40.  
  41.      ELIM supports all DOS wildcard shortcuts.   For  example,  if  one
  42.      wishes  to  delete all the files in the TEST directory, one can do
  43.      that simply by issuing the command
  44.  
  45.      ELIM TEST\.
  46.  
  47.      The following are also legitimate:
  48.  
  49.      ELIM .
  50.      ELIM ..\.
  51.  
  52.      If you've left C: in directory WORK and are now on D:,
  53.  
  54.      ELIM C:.
  55.  
  56.      will  delete  all  read/write files in C:\WORK and ignore all read
  57.      only files in that directory.
  58.  
  59.      If you're in WORK\B and there is an A subdirectory  of  WORK,  you
  60.      can  delete  all  read-write files in the A subdirectory from your
  61.      present B subdirectory by issuing the following command:
  62.  
  63.      ELIM ..\A\.
  64.  
  65.      Warning: don't use DOS wildcard shortcuts unless you're  sure  you
  66.      know  what  you're  doing.   These  shortcuts are for experts, not
  67.      beginners.
  68.  
  69.      The Enclosed Demo
  70.      -----------------
  71.      Before  you  try  using  ELIM,  you  should  run DEMO in a special
  72.      directory containing all the  files  in  this  archive,  including
  73.      CREATE.EXE.   The sole function of the CREATE program is to enable
  74.      the DEMO.BAT file to create a zero-byte file on  your  disk  which
  75.      cannot  be  deleted by DOS's DEL command.  The DEMO shows how ELIM
  76.      does what DEL cannot.
  77.  
  78.      Errors:
  79.      ------
  80.      Error responses always return a DOS error level of 1.
  81.  
  82.      If  the  user  specifies  a filename or wildcard to which no files
  83.      correspond, ELIM will return the message "No such file(s)" and  an
  84.      error  level  of 1.  If nothing is mentioned as a parameter on the
  85.      commandline, ELIM will return to the user a small help screen  and
  86.      an error level of 1.
  87.  
  88.      All other ELIM terminations return an error level of 0.
  89.  
  90.      ELIM's  error  level  returns  make  it  possible  to  use ELIM in
  91.      automated batch file programs.
  92.  
  93.      WARNING:
  94.      -------
  95.      Avoid  using ELIM in preference to DOS DEL, unless you really know
  96.      what you are doing.  The designers of DOS deliberately put in  the
  97.      'Are  you  sure?' prompt on the DEL command for a reason, and that
  98.      reason is that it's better to be safe than sorry.
  99.  
  100.      ELIM is designed to be used by people who know what they're doing,
  101.      not people for whom the 'Are you sure?' prompt was designed.
  102.  
  103.      DISCLAIMER:
  104.      ==========
  105.      This program is circulated as public domain without any  guarantee
  106.      or  warranty;  and  the  user, by downloading this program, or any
  107.      variant thereof or by receiving it or any of its versions  in  any
  108.      other  form, agrees to accept full responsibility for its use.  It
  109.      is therefore understood that the user accepts this program or  any
  110.      previous  version  as  is.
  111.  
  112.      Bob Eyer                  The author may also be reached at
  113.      Compuserve [73230,2620]   ROSE MEDIA 416-733-2285 (Main Conf)
  114.      Toronto                   or
  115.      Canada                    CANADA REMOTE 416-629-7044 (IBM Conf)
  116.      -------------------------------------------------------------
  117.      End of documentation.
  118.  
  119.  
  120.          ----------------end-of-author's-documentation---------------
  121.  
  122.                          Software Library Information:
  123.  
  124.                     This disk copy provided as a service of
  125.  
  126.                            Public (software) Library
  127.  
  128.          We are not the authors of this program, nor are we associated
  129.          with the author in any way other than as a distributor of the
  130.          program in accordance with the author's terms of distribution.
  131.  
  132.          Please direct shareware payments and specific questions about
  133.          this program to the author of the program, whose name appears
  134.          elsewhere in  this documentation. If you have trouble getting
  135.          in touch with the author,  we will do whatever we can to help
  136.          you with your questions. All programs have been tested and do
  137.          run.  To report problems,  please use the form that is in the
  138.          file PROBLEM.DOC on many of our disks or in other written for-
  139.          mat with screen printouts, if possible.  PsL cannot debug pro-
  140.          programs over the telephone, though we can answer questions.
  141.  
  142.          Disks in the PsL are updated  monthly,  so if you did not get
  143.          this disk directly from the PsL, you should be aware that the
  144.          files in this set may no longer be the current versions. Also,
  145.          if you got this disk from another vendor and are having prob-
  146.          lems,  be aware that  some files may have become corrupted or
  147.          lost by that vendor. Get a current, working disk from PsL.
  148.  
  149.          For a copy of the latest monthly software library newsletter
  150.          and a list of the 3,000+ disks in the library, call or write
  151.  
  152.                            Public (software) Library
  153.                                P.O.Box 35705 - F
  154.                             Houston, TX 77235-5705
  155.  
  156.                                 1-800-2424-PSL
  157.                              MC/Visa/AmEx/Discover
  158.  
  159.                           Outside of U.S. or in Texas
  160.                           or for general information,
  161.                               Call 1-713-524-6394
  162.  
  163.                           PsL also has an outstanding
  164.                           catalog for the Macintosh.
  165.  
  166.